import React, { FC } from "react";
import { Outlet } from "react-router-dom";
// import dayjs from "dayjs";

import styles from "./index.module.less";
import AdminLayout from "../../layout/admin_layout";

interface PropsI {
  children?: React.ReactElement;
}
const Home: FC = (props: PropsI) => {
  return (
    <div className={styles.home} data-testid="home-div">
      <AdminLayout>
        <Outlet />
      </AdminLayout>
    </div>
  );
};
export default Home;
